package research.preferences;

import research.core.Activator;

public class PreferencesUtil {
	public static String getServer() {
		return Activator.getDefault().getPreferenceStore().getString(PreferenceConstants.P_SERVER);
	}
	
	public static String getDatabase() {
		return Activator.getDefault().getPreferenceStore().getString(PreferenceConstants.P_DATABASE);
	}
	
	public static String getUser() {
		return Activator.getDefault().getPreferenceStore().getString(PreferenceConstants.P_USER);
	}
	
	public static String getPassword() {
		return Activator.getDefault().getPreferenceStore().getString(PreferenceConstants.P_PASSWORD);
	}
}
